import json
def main():
    fo = open("json.txt", "r").read()
    fo_json = json.loads(fo)
    users = []
    for user in fo_json:
        users.append(UserInfo(user["email"], user["name"], user["password"], user["qq"]))
    for user in users:
        print(user)
class UserInfo:
    def __init__(self, email, name, password, qq):
        self.email = email
        self.name = name
        self.password = password
        self.qq = qq
    def __str__(self):
        return "邮箱是：%s, 姓名是：%s, 密码是：%s, QQ是：%s" % (self.email, self.name, self.password, self.qq)
main()